//
//  YueyouNextViewController.m
//  MiaoTu
//
//  Created by dllo on 16/9/18.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "YueyouNextViewController.h"
#import "UIView+Frame.h"

@interface YueyouNextViewController () //<UICollectionViewDataSource, UICollectionViewDelegate>
@property (nonatomic, strong) UICollectionView *collectionView;
@end

@implementation YueyouNextViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"发布" style:UIBarButtonItemStylePlain target:self action:@selector(publish)];
    
    [self createCollectionView];
    
}

- (void)createCollectionView {
    UICollectionViewFlowLayout *fl = [[UICollectionViewFlowLayout alloc] init];
    self.collectionView = [[UICollectionView alloc] initWithFrame:CGRectMake(0, 0, self.view.dk_width, self.view.dk_height - 64) collectionViewLayout:fl];
    [self.view addSubview:_collectionView];
//    _collectionView.dataSource = self;
//    _collectionView.delegate = self;
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)publish {
    
}

@end
